package cn.shen.edit.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;


@Data
@TableName("detail_test")
@Builder
public class Detail {

    @TableId(value = "detail_id",type = IdType.AUTO)
    private long detailId;

    @TableField("user_id")
    private long userId;

    @TableField("amount")
    private long amount;


    @TableField("up_or_down")
    /** 0:金额上升 1:金额下降*/
    private int upOrDown;


}
